Skip to content

Conversation

nickolas-dimitrakas
Copy link
Contributor

@nickolas-dimitrakas nickolas-dimitrakas commented Sep 10, 2025

Summary

  • Implemented bug fix for consent mapping.
  • Added logic to parse consent mappings provided via the mParticle UI and resolve them against user GDPR consent state or configured defaults.
  • Updated updateConsent function to build a consent payload and forward it to Firebase using FIRAnalytics setConsent.
  • Ensures DMA/GDPR compliance by correctly honoring user choices for ad_storage, ad_user_data, analytics_storage, and ad_personalization.

Testing Plan

  • Tested locally with sample mappings and consent state overrides.

Reference Issue (For mParticle employees only. Ignore if you are an outside contributor)

Copy link
Contributor

@BrandonStalnaker BrandonStalnaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great just a few suggestions

Copy link
Contributor

@BrandonStalnaker BrandonStalnaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nickolas-dimitrakas nickolas-dimitrakas merged commit 6d72279 into development Sep 11, 2025
3 checks passed
@nickolas-dimitrakas nickolas-dimitrakas deleted the fix/SDKE-145-ios-ga-4-kit-fix-consent-mapping-configuration branch September 11, 2025 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants